package com.example.interface_android;

import android.os.Bundle;
import android.app.Activity;
import android.content.DialogInterface.OnClickListener;
import android.content.Intent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.support.v4.app.NavUtils;

public class MainActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
    
    public void MainVersgcomposant(View v){
    	Intent i = new Intent(this,GComposant_Activity.class);
    	startActivity(i);
    }
    
    public void MainVerscproduits(View v){
    	Intent i = new Intent(this,CProduits_Activity.class);
    	startActivity(i);
    }
    
    public void MainVersnotice(View v){
    	Intent i = new Intent(this,Notice_Activity.class);
    	startActivity(i);
    }
    
    public void MainVersfabrication(View v){
    	Intent i = new Intent(this,FabricationActivity.class);
    	startActivity(i);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }
    

    
}
